package com.lixuwei.study.htmlutil.seleniumhq;

import java.util.Enumeration;
import java.util.Properties;

public class Test {

    public static void main(String[] args) {
//        Properties properties = System.getProperties();
//        Enumeration<?> enumeration = properties.propertyNames();
//        while (enumeration.hasMoreElements()) {
//            Object o = enumeration.nextElement();
//            String property = System.getProperty(o.toString());
//            System.out.println(o +"==="+property);
//        }

        String property = System.getProperty("os.name");
        System.out.println(property);
    }
}
